package com.xuliugen.security.core.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 系统配置总的包含类
 * Created by xuliugen on 2017/11/6.
 */
@ConfigurationProperties(prefix = "security")
public class SecurityProperties {

    /**
     * 游览器属性
     */
    private BrowserProperties browser = new BrowserProperties();

    /**
     * 验证码属性
     */
    private ValidateCodeProperties code = new ValidateCodeProperties();

    /**
     * 社交账户属性
     */
    private SocialProperties social = new SocialProperties();

    public BrowserProperties getBrowser() {
        return browser;
    }

    public void setBrowser(BrowserProperties browser) {
        this.browser = browser;
    }

    public ValidateCodeProperties getCode() {
        return code;
    }

    public void setCode(ValidateCodeProperties code) {
        this.code = code;
    }

    public SocialProperties getSocial() {
        return social;
    }

    public void setSocial(SocialProperties social) {
        this.social = social;
    }
}

